package com.weishi.project.api.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiParam;
import lombok.Data;

import java.util.Date;

@Data
public class SportsInjuryVo {


    @ApiParam(value = "id")
    private int id;

    @ApiParam(value = "生病时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date startTime;

    @ApiParam(value = "生病人员")
    private String sportsmanName;

    @ApiParam(value = "归队时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date returnTime;

    @ApiParam(value = "病因")
    private String reason;

    //0--治疗中 1--康复 根据治愈时间来判断
    //如果当前时间大于治愈时间则为康复 字段置1 反之 字段置0
    @ApiParam(value = "当前状态")
    private int nowStatus;

    //复发次数仅仅只有受伤有
    @ApiParam(value = "复发次数")
    private int injuryCount;

    //审批人只有请假的时候有
    @ApiParam(value = "获批人,审批人")
    private int approvers;

}
